<?php

namespace App\Models;

/**
 * App\Models\IndexArticle
 *
 * @property int $id 自增长ID
 * @property string $article_id 文章ID
 * @property string $author_id 用户ID
 * @property int $spider_original_id 对应[spider_original]表ID
 * @property int $is_deleted 删除状态，0正常，1删除
 * @property int $is_shield 屏蔽状态，0正常，1屏蔽
 * @property int $is_recommend 推荐状态：0未推荐  1已推荐
 * @property \Illuminate\Support\Carbon $created_at 创建时间戳
 * @property \Illuminate\Support\Carbon $updated_at 更新时间戳
 * @method static \Illuminate\Database\Eloquent\Builder|IndexArticle newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|IndexArticle newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|IndexArticle query()
 */
class IndexArticle extends BaseModel
{

    protected $table = "index_article";
    protected $primaryKey = "article_id";
    protected $keyType = "string";
    public $timestamps = true;

    /**
     * The attributes that are mass assignable.
     *
     * @var array
     */
    protected $fillable = [];

    /**
     * The attributes that should be hidden for arrays.
     *
     * @var array
     */
    protected $hidden = [];

    /**
     * The attributes that should be cast to native types.
     *
     * @var array
     */
    protected $casts = [];

    /**
     * select columns
     * @var array
     */
    public $fields = [];


}
